#include "StdAfx.h"
#include "AltiumCircuitSignalHarness.h"


CAltiumCircuitSignalHarness::CAltiumCircuitSignalHarness(void)
{
}

CAltiumCircuitSignalHarness::CAltiumCircuitSignalHarness( const CAltiumCircuitSignalHarness* pEntityObj )
	:CCircuitPolyline(pEntityObj)
{

}

CAltiumCircuitSignalHarness::CAltiumCircuitSignalHarness( CICircuit* pICircuit )
	:CCircuitPolyline(pICircuit)
{

}


CAltiumCircuitSignalHarness::~CAltiumCircuitSignalHarness(void)
{
}

void CAltiumCircuitSignalHarness::Serialize( CArchive & ar )
{
	CCircuitPolyline::Serialize(ar);
}

CObj * CAltiumCircuitSignalHarness::Clone() const
{
	return new CAltiumCircuitSignalHarness(this);
}

CDisplayObj * CAltiumCircuitSignalHarness::CreateDisplayObj( long lLayerId )
{
	CAltiumCircuitSignalHarnessDisObj* pDisObj = new CAltiumCircuitSignalHarnessDisObj(this);
	pDisObj->SetLayerId(lLayerId);
	return pDisObj;
}

eCircuitUnitEntType CAltiumCircuitSignalHarness::GetUnitType() const
{
	return ALTIUM_CIRCUIT_SIGNAL_HARNESS;
}
